<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div.outer {
            width: 1024px;
            height: 200px;
            background-color: #eeeeee;
            border: 1px solid black;
        }
        
        div.inner {
            line-height: 200px;
            text-align: center;
        }
        
        img {
            vertical-align: middle
        }
        
        .text1 {
            font-size: 2em;
            vertical-align: middle;
        }
        
        .text2 {
            text-decoration: underline;
            color: red;
            vertical-align: middle;
        }
    </style>
</head>

<body>
    <div class="outer">
        <div class="inner">
            <img src="http://climg.mukewang.com/59c21bae000157fa01000059.jpg">
            <span class="text1">CSS层叠样式表</span>
            <span class="text2">(Cascading Style Sheets)</span>
        </div>
    </div>
</body>

</html>